var HOST = "https://mina.jade-box.com/yudu"
var HOST1 = "https://mina.jade-box.com/cloudMasses"
// var HOST2 = "https://api.jade-box.com"
var HOST2 = "https://v1.develop.api.jade-box.com"
// var TEST = "https://yudu.docdic.com/api"
var TEST = "https://v1.develop.yudu.docdic.com/api"
// var HOST3 = "https://lib.jade-box.com"
var HOST3 = "https://develop.lib.jade-box.com"
var API_URL = {
        index: TEST + "/home",
        demand_list: TEST + "/demand",
        demand_add: TEST + "/demand/create",
        demand_edit: TEST + "/demand/edit",
        demand_del: TEST + "/demand/delete",
        demand_me: TEST + "/demand/me",
        demand_msg: TEST + "/demand/unread/msg",
        demand_order: TEST + "/demand/success/submit",
        new_category: HOST1 + "/store/news/category",
        news_list: HOST1 + "/store/news/more",
        news: HOST1 + "/store/news/details",
        recommends_list: TEST + "/demand/recommends",
        recommends_del: TEST + "/demand/delete/my/recommends",
        recommends_edit: TEST + "/demand/edit/my/recommends",
        recommends_my: TEST + "/demand/my/recommends",
        set_recommend: TEST + "/demand/set/recommend",
        add_recommend: TEST + "/demand/add/recommend",
        invites_list: TEST + "/demand/invites",
        add_invite: TEST + "/demand/add/invite",
        my_good: TEST + "/mall/store/goods",
        good: TEST + "/mall/detail",
        goods_list: TEST + "/mall",
        goods_comment_like: TEST + "/mall/goods/set/comment/like",
        goods_comment_reply: TEST + "/mall/goods/comment/reply",
        goods_comment_info: TEST + "/mall/goods/comment/detail",
        userCenter: TEST + "/account/center",
        login: TEST + "/login",
        get_openid: HOST + "/login",
        sendRegSms: TEST + "/account/send/register/sms/code",
        sendRegEmail: TEST + "/account/send/register/mail/code",
        register1: TEST + "/register",
        get_unionid: HOST + "/register",
        sendSms: TEST + "/account/send/sms/code",
        sendEmail: TEST + "/account/send/mail/code",
        bindAccount: TEST + "/account/bind",
        isSendSms: TEST + "/account/validate/send/sms",
        checkBindCode: TEST + "/account/check/bind/code",
        unbindAccount: TEST + "/account/unbind",
        live_list: TEST + "/room",
        live_watch: TEST + "/room/live/watch",
        live_check: HOST3 + "/live/check",
        change_live: TEST + "/account/set/live/status",
        userInfo: TEST + "/account/user/detail",
        userIndex: HOST + "/personal",
        store: HOST + "/store",
        storeInfo: HOST1 + "/store/detail",
        //seller_orders: HOST + "/seller/order/list",
        //buyer_orders: HOST + "/buyer/order/list",
        order_list: TEST + "/order",
        order_info: TEST + "/order/show",
        order_delivery: HOST2 + "/order/delivery",
        order_confirm: HOST2 + "/account/money/set/confirm",
        address_list: TEST + "/address",
        edit_address: TEST + "/address/update",
        add_address: TEST + "/address/add",
        del_address: TEST + "/address/remove",
        default_address: TEST + "/address/default",
        pay_sign: HOST1 + "/pay/liu/wx/sign",
        ali_pay: TEST + "/alipay/pay",
        updata_batch: HOST + "/update/batch/number",
        cart_settle: TEST + "/mall/cart/settle",
        cart_updata: TEST + "/mall/cart/update",
        order: TEST + "/order/confirm",
        cancel_order: HOST1 + "/user/order/buyer/cancel",
        cancel_seller_order: HOST1 + "/user/order/seller/cancel",
        del_order: HOST1 + "/user/order/delete",
        collect_list: TEST + "/collect",
        collect_add: TEST + "/collect/add",
        collect_list_store: HOST + "/collect/store/list",
        collect_del: TEST + "/collect/remove",
        collect_del_store: HOST + "/collect/store/delete",
        collect_add_store: HOST + "/collect/store",
        like_add: HOST + "/thumbs",
        like_del: HOST + "/cancel/thumbs",
        dynamic_comment: HOST + "/comment",
        goods_manage: TEST + "/mall/store/goods",
        get_good_info: HOST + "/store/my/store/goods/info",
        upload_img: HOST1 + "/upload/img/to/oss",
        //good_add: HOST + "/goods/publish/basic/info",
        //good_edit: HOST + "/store/my/store/update/goods/info",
        //good_add_img: HOST + "/goods/publish/img/info",
        good_save: HOST2 + "/mall/goods/save",
        good_save_img: HOST2 + "/mall/goods/set/attachments",
        good_del: HOST + "/store/my/store/delete/goods",
        cart_list: TEST + "/mall/cart",
        del_cart: TEST + "/mall/cart/remove/item",
        add_cart: TEST + "/mall/cart/add/item",
        sendPasswordCode: TEST + "/account/send/reset/password/code",
        updata_password: TEST + "/account/user/change/password",
        cart_buy: HOST + "/shopping/cart/sum/up",
        cart_order: HOST + "/shopping/cart/place/order",
        upload_img: HOST1 + "/upload/img/to/oss",
        /*修改个人信息中的图片 参数=>storeId:用户id,logoKey:'LOGO'(头像)/'MSN_LOGO'(微信二维码)/'Background'(店铺封面),imgUrl:图片地址*/
        edit_img: HOST1 + "/personal/store/logo/update",
        edit_user: TEST + "/account/user/update",         //修改个人信息
        code_status: HOST + "/select/my/code",
        commission: HOST1 + "/money/commission/revenue/data",
        money_store: HOST1 + "/money/store/revenue/data",
        commission_all: HOST1 + "/money/gross/commission/record", //总佣金
        commission_yi: HOST1 + "/money/present/commission",       //已提现佣金
        commission_dong: HOST1 + "/money/freeze/commission",      //冻结
        commission_bu: HOST1 + "/money/temporary/commission",     //暂不可提现
        commission_ke: HOST1 + "/money/finish/order/info",        //可提现
        pending: HOST1 + "/money/pending/transfer",               //已提现待转账
        finish: HOST1 + "/money/finish/order/info",               //已完成待提现
        revenue: HOST1 + "/money/store/revenue/detail",            //收入流水
        withdrawal: HOST1 + "/money/trade/cash/withdrawal",            //交易中未提现
        store_finsh: HOST1 + "/money/withdraw/finish/log",            //店铺收入 已提现金额
        enchashment: HOST1 + "/money/carry/show",            //申请提现
        visitor_list: TEST + "/history/visited",
        visitor_del: TEST + "/history/remove",
        account: TEST + "/account",
        account_status: HOST2 + "/account/status/list",
        get_certification: HOST1 + "/certification/data",
        certification: HOST1 + "/certification/apply",
        certification_batch: HOST1 + "/update/certification/batch/number",
        check_sms: HOST2 + "/verification/code/check",
        edit_payPW: HOST1 + "/account/modify/payment/password",
        set_payPW: HOST2 + "/account/set/payment/password",
        my_card: HOST2 + "/account/bank/card",
        add_card: HOST2 + "/account/add/bank/card",
        del_card: HOST2 + "/account/delete/bank/card",
        enchashment: HOST2 + "/account/money/withdraw",
        batch_info: HOST2 + "/account/get/batch/info",
        batch_list: HOST2 + "/account/get/batch/list",
        recharge: HOST1 + "/balance/recharge",
        get_livePlatform: TEST + "/room/live/platforms",
        bind_live: TEST + "/account/bind/live",
        get_live: TEST + "/account/live/info",
        send_sms: HOST2 + "/verification/sms/send",
        company_info: TEST + "/introduction",
        visitors: TEST + "/mall/detail/visitors",
        comments: TEST + "/mall/detail/comments",
        comment_set: TEST + "/mall/goods/set/comment",
        next_first: TEST + "/first/distributor",
        next_second: TEST + "/second/distributor",
        next_order: TEST + "/distributor/order",
        refund_list: TEST + "/order/service",
        refund_money: HOST2 + "/order/apply/refunds",
        refund_money_info: HOST2 + "/order/refunds/schedule/detail",
        refund_money_cancel: HOST2 + "/order/cancel/apply/refunds",
        refund_money_agree: HOST2 + "/order/agree/refunds",
        refund_money_refuse: HOST2 + "/order/refuse/refunds",
        refund_good: HOST2 + "/order/apply/returned/purchase",
        refund_good_info: HOST2 + "/order/returned/purchase/schedule/detail",
        refund_good_cancel: HOST2 + "/order/cancel/apply/returned/purchase",
        refund_good_agree: HOST2 + "/order/agree/returned/purchase",
        refund_good_refuse: HOST2 + "/order/refuse/returned/purchase",
        sysMsg_list: HOST2 + "/order/system/msg/list",
        sysMsg_info: HOST2 + "/order/system/msg/detail",
        refund_express: HOST2 + "/order/submit/return/logistics",
        arbitration_add: HOST2 + "/order/apply/arbitration",
        arbitration_list: HOST2 + "/order/negotiation/record",
        arbitration_cancel: HOST2 + "/order/cancel/apply/arbitration",
        arbitration_msg: HOST2 + "/order/arbitration/leave/message",
        arbitration_confirm: HOST2 + "/order/returned/purchase/receipt",
        money_record: HOST2 + "/account/flow/record",
        good_express: HOST2 + "/order/view/logistics",
        wechatLogin: TEST + "/login/third/part"
}

module.exports = {
        API_URL
};